<?php  				
// 错误信息
	
?>
<form id="pagerForm" method="post" action="<?=site_url($this->uri->uri_string())?>">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="<?=site_url($this->uri->uri_string())?>" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>搜索信息：</label>
				<input type="text" name="keywords" value="<?=$keywords?>"/>
			</li>
			<li>
			<select class="combox" name="province">
				<option value="">用户组</option>
				<option value="注册用户">注册用户</option>
				<option value="VIP用户">VIP用户</option>
				<option value="管理员">管理员</option>
			</select>
			</li>
		</ul>
		
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="<?=site_url('manage/admin_health/health_add/'.$cid)?>" target="navTab"><span>添加</span></a></li>
			<li class="line">line</li>
			<li><a class="add" href="<?=site_url('manage/admin_health/health_list')?>" target="navTab"><span>查看全部</span></a></li>
		</ul>
	</div>
	<table class="table" width="1000" layoutH="138">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th orderField="accountNo" class="asc">信息</th>
				<th width="50">推荐</th>
				<th width="100" orderField="accountName">分类</th>
				<th width="50" align="center" orderField="accountLevel">浏览量</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($health_list as $health) :?>
			<tr target="sid_user" rel="<?=$health['id']?>">
				<td><input name="ids" value="<?=$health['id']?>" type="checkbox"></td>
				<td><a target="_blank" href="<?=site_url('health/views/'.$health['id'])?>"><?=$health['title']?></a></td>
				<td><?=$health['status']?></td>
				<td><?=$health['cid']?></td>
				<td><?=$health['views']?></td>
				<td>
					<a title="删除" target="ajaxTodo" href="<?=site_url('manage/admin_health/health_del/'.$health['id'])?>" class="btnDel">删除</a>
					<a title="编辑" target="navTab" href="<?=site_url('manage/admin_health/health_edit/'.$health['id'])?>" class="btnEdit">编辑</a>
				</td>
			</tr>
			<?php endforeach;?>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>18/<?=$totalCount?></span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="<?=$totalCount?>" pageNumShown="10" currentPage="<?=$currentPage?>"></div>

	</div>
</div>
